package com.xuchaotong.feign.service.impl;

import com.xuchaotong.feign.service.UserService;
import org.springframework.stereotype.Component;

/**
 * @author 311633
 * @version 1.0
 * @ClassName:
 * @Description:
 * @date 2017/11/6 8:58
 */
@Component
public class UserServiceHystrix implements UserService{
    public String sayHi(String name) {
        return "sorry " + name + ", Error!!!";
    }
}
